package com.java.system.common.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Ace on 2017/6/12.
 */
@Data
public class ResourceTreeNode {
    protected String id;
    protected String parentId;
    List<ResourceTreeNode> children = new ArrayList<ResourceTreeNode>();



    public void add(ResourceTreeNode node){
        children.add(node);
    }
}
